package com.wxyzz.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("like_enshrine")
public class LikeEnshrine {

    /**
     * 表id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *  用户id
     */
    private Integer userId;

    /**
     * 文章id
     */
    private Integer articleId;

    /**
     * 文章发表者id
     */
    private Integer publishId;

    /**
     * 类型 1.点赞 2.收藏
     */
    private Integer type;

    /**
     * 状态  0.未点赞或未收藏， 1.点赞或收藏
     */
    private Integer status;

    private Date createTime;
    private Date updateTime;

}
